API Documentation
DecodedMaterialData.h
1 // DecodedMaterialData.h
3 //
5 
6 namespace nkGraphics
7 {
11  struct DecodedMaterialData final
12  {
13  // Attributes
16 
19 
22 
24 
25  float _alphaValue = 1.f ;
26  int _alphaTextureIndex = -1 ;
27  } ;
28 }
nkGraphics::DecodedMaterialData::_specularTextureIndex
int _specularTextureIndex
The specular texture, as the index within the DecodedTextureData set counterpart. No texture is encod...
Definition: DecodedMaterialData.h:21
nkGraphics::DecodedMaterialData::_alphaTextureIndex
int _alphaTextureIndex
The alpha texture, as the index within the DecodedTextureData set counterpart. No texture is encoded ...
Definition: DecodedMaterialData.h:26
nkGraphics::DecodedMaterialData
Holds data about a decoded material.
Definition: DecodedMaterialData.h:12
nkGraphics::DecodedMaterialData::_ambientColor
nkMaths::Vector _ambientColor
The ambient color, if any.
Definition: DecodedMaterialData.h:14
nkGraphics::DecodedMaterialData::_ambientTextureIndex
int _ambientTextureIndex
The ambient texture, as the index within the DecodedTextureData set counterpart. No texture is encode...
Definition: DecodedMaterialData.h:15
nkGraphics::DecodedMaterialData::_diffuseTextureIndex
int _diffuseTextureIndex
The diffuse texture, as the index within the DecodedTextureData set counterpart. No texture is encode...
Definition: DecodedMaterialData.h:18
nkGraphics::DecodedMaterialData::_diffuseColor
nkMaths::Vector _diffuseColor
The diffuse color, if any.
Definition: DecodedMaterialData.h:17
nkGraphics::DecodedMaterialData::_specularColor
nkMaths::Vector _specularColor
The specular color, if any.
Definition: DecodedMaterialData.h:20
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkMaths::Vector
A 4-component vector class, with floats.
Definition: Vector.h:12
nkGraphics::DecodedMaterialData::_normalTextureIndex
int _normalTextureIndex
The normal map texture, as the index within the DecodedTextureData set counterpart....
Definition: DecodedMaterialData.h:23